1. How many basic categories of software are there?
2. Which of the following is NOT a type of system software?
3. What is the primary role of system software?
4. Which of the following is an example of system software?
5. What is the most basic type of system software?
6. Which of the following is NOT a function of an operating system?
7. What software translates high-level programming languages into machine code?
8. What is the role of device drivers in a computer system?
9. Which of the following is NOT a feature of system software?
10. What is firmware typically used for?
11. Which type of software is designed for end-users to perform specific tasks?
12. Which of the following is an example of application software?
13. What is the primary purpose of spreadsheet software?
14. Which software type is used for creating and delivering presentations?
15. What kind of software is Photoshop considered to be?
16. Which of the following is NOT a characteristic of application software?
17. Which type of software is free to use but restricts the ability to modify the source code?
18. What is the key difference between open-source and closed-source software?
19. What is the main purpose of customer relationship management (CRM) software?
20. Which of the following is an example of a database management system (DBMS)?
21. What is the primary function of a compiler?
Correct Answer: B) To translate source code into machine code or another programming language
22. In which language is the source code typically written for a compiler to translate?
Correct Answer: C) High-level language
23. What is the difference between a compiler and an interpreter?
Correct Answer: B) A compiler translates the entire code at once and identifies all errors
24. What type of compiler operates on platform A and produces executable code for platform B?
Correct Answer: B) Cross-compiler
25. Which compiler converts source code from one programming language to another?
Correct Answer: A) Source-to-source compiler
26. What is the extension used for C source files?
Correct Answer: C) .c
27. Which command is used to compile C source files?
Correct Answer: A) gcc
28. What is the output file generated after the assembly stage in the C compilation process?
Correct Answer: D) main.o
29. At which stage of the C compilation process are comments removed and macros expanded?
Correct Answer: B) Pre-processing
30. What is the final stage of the C compilation process where function calls are linked to their definitions?
Correct Answer: D) Linking
31. Which compiler system is invoked by the 'cc' command in C compilation?
Correct Answer: A) GNU Compiler Collection
32. Which phase in the C compilation process produces the intermediate file 'main.s'?
Correct Answer: B) Compilation
33. What does the assembler generate in the C compilation process?
Correct Answer: B) Object code
34. Which command is used to compile the source file 'main.c' in C?
Correct Answer: D) gcc main.c
35. What type of file is 'a.out' in the C compilation process?
Correct Answer: C) Executable file
36. Which C compiler is known for its fast speed and small size, suitable for slow computers?
Correct Answer: B) Tiny C Compiler (TCC)
37. Which C compiler was first introduced in 1987 and is known for its small size and speed?
Correct Answer: A) Borland Turbo C
38. Which compiler is considered one of the best due to its durability, optimization, and error-checking capabilities?
Correct Answer: B) GNU Compiler Collection (GCC)
39. Which type of parser did GCC use in its early stages?
Correct Answer: B) LALR parser
40. Which programming languages does Clang support besides C?
Correct Answer: B) Objective-C and Objective-C++
41. What is the main difference between a compiler and an interpreter?
Correct Answer: C) A compiler validates the entire source code before execution
42. Which type of interpreter executes intermediate code step by step?
Correct Answer: B) Bytecode interpreter
43. Which type of interpreter uses a syntax tree to direct execution?
Correct Answer: C) Syntax-directed interpreter
44. What is the primary function of an assembler?
Correct Answer: C) To convert assembly language into machine code
45. What does an assembler use to represent CPU operations?
Correct Answer: B) Mnemonics and symbolic names
46. What is the result of the assembly process?
Correct Answer: D) Machine code
47. Which component is directly responsible for translating assembly language instructions into machine code?
Correct Answer: C) Assembler
48. How does assembly language relate to machine code?
Correct Answer: A) Assembly language has a one-to-one mapping to machine code instructions
49. What is the main role of a linker in the compilation process?
Correct Answer: B) To merge multiple object files into a single executable program
50. What does the linker do during static linking?
Correct Answer: B) It combines object files and libraries into a single executable file
51. Which of the following is handled by the linker?
Correct Answer: A) Address binding
52. What is a key task performed by a loader?
Correct Answer: B) Loading an executable file into the computer's memory
53. Which file formats must loaders understand to perform their function?
Correct Answer: C) Executable file formats
54. What is the purpose of address binding performed by loaders?
Correct Answer: B) To assign actual memory addresses to program variables and functions
55. How does dynamic linking differ from static linking?
Correct Answer: B) Dynamic linking resolves references to libraries at runtime
56. What role does a symbol table play in the linking process?
Correct Answer: B) It maps symbol names to their memory addresses
57. What does the relocation process involve?
Correct Answer: A) Adjusting addresses in object files to reflect final memory locations
58. Which task is performed by a loader during program initialization?
Correct Answer: B) Configuring the program's stack and initializing global variables
59. What are linker scripts used for?
Correct Answer: A) Organizing sections in the executable file
60. Which type of loader handles loading and relocating programs dynamically?
Correct Answer: C) Dynamic loader
61. What kind of error-checking mechanisms do loaders typically include?
Correct Answer: B) File format validation and address conflict resolution
62. What does the term 'platform-specific' mean in the context of assembly language?
Correct Answer: B) Assembly language is specific to a particular computer architecture or microprocessor
63. Which of the following is a primary function of a loader?
Correct Answer: C) Loading an executable file into memory for execution